/*
 * @Author: hua
 * @Date: 2020-04-07 17:18:10
 * @description:
 * @LastEditors: hua
 * @LastEditTime: 2020-04-07 19:18:40
 */
import i18n from 'react-native-i18n';

import en from './en/index';

import zh from './zh/index';

i18n.defaultLocale = 'zh';

i18n.fallbacks = true;

i18n.translations = {
  en,
  zh,
};

export default i18n;
